package com.itheima.pojo.admin;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author ChenJunJie
 * @date 2022/6/16 16:01
 * 套餐菜品类
 */
public class SetmealDish {
    /**
     *套餐菜品id
     */
    private String id;
    /**
     * 菜品id
     */
    private String dishId;
    /**
     * 菜品名
     */
    private String name;
    /**
     * 菜品价格
     */
    private BigDecimal price;
    /**
     * 菜品数量
     */
    private Integer copies;
    /**
     *创建时间
     */
    private Date createTime;
    /**
     *更新时间
     */
    private Date updateTime;
    /**
     *创建人
     */
    private String createUser;
    /**
     *修改人
     */
    private String updateUser;

    public SetmealDish() {
    }

    public SetmealDish(String id, String dishId, String name, BigDecimal price, Integer copies, Date createTime, Date updateTime, String createUser, String updateUser) {
        this.id = id;
        this.dishId = dishId;
        this.name = name;
        this.price = price;
        this.copies = copies;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.createUser = createUser;
        this.updateUser = updateUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Integer getCopies() {
        return copies;
    }

    public void setCopies(Integer copies) {
        this.copies = copies;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDishId() {
        return dishId;
    }

    public void setDishId(String dishId) {
        this.dishId = dishId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "SetmealDish{" +
                "id='" + id + '\'' +
                ", dishId='" + dishId + '\'' +
                ", name='" + name + '\'' +
                ", price=" + price +
                '}';
    }
}
